import axios from "axios"

const mockAxios = axios.create({
    baseUrl:"/mock",
    timeout:20000
})

mockAxios.interceptors.request.use(config=> {
    return config
})

mockAxios.interceptors.response.use(response=> {
    return response.data
},err=> {
    return new Promise(()=>{})
})

export default mockAxios